package test;

public abstract class Player extends Person{
    //无属性
    //自动生成构造方法


    public Player() {
    }

    public Player(String name, int age) {
        super(name, age);//把传递过来的属性给父类中的属性赋值
    }
    public abstract void study();
}
